project 'KDExample.xcodeproj'
platform :ios, '7.0'
source 'https://github.com/CocoaPods/Specs.git'

target "KDExample" do
    
    #pod 'ReactiveCocoa', '2.5'
pod 'JSPatch', '0.1.3'
#pod 'Crashlytics', '3.4.1'
pod 'RSSwizzle', '0.1.0'
#pod 'AFNetworking', '3.1.0'

pod "NBCFoundation", :path => "./DevPods/"
pod "NBCURLRouter", :path => "./DevPods/"

end

#puts DSL.methods

#puts Pod::Specification::DSL.attributes
# Pod::Specification::DSL.attribute("summary").required?

#Pod::Config.instance.integrate_targets = false
self.post_install do |installer|
    $KDPod_Project
    begin
        $KDPod_Project=installer.project
        rescue
        puts "installer.project is delete"
        $KDPod_Project=installer.pods_project
    end
    installer.use_default_plugins = false
    $KDPod_Project.targets.each do |target|
#        puts target.project.root_object.attributes
#        target.project.root_object.attributes['ORGANIZATIONNAME']='121'
#        target.project.root_object.attributes['CLASSPREFIX']='KD'
        target.build_configurations.each do |config|
            config.build_settings['CONFIGURATION_TEMP_DIR'] = './build'
            config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
        end
    end

end

